#! /bin/sh

echo "ohos_service_start"
mknod /dev/hilog c 245 1
chmod 666 /dev/hilog
mknod /dev/hwlog_exception   c 241 1
chmod 666 /dev/hwlog_exception
cd /ko
./load_ss928v100 -a
chmod 666 /dev/mmz_userdev
chmod 777 /dev/i2c-0
chmod 666 /dev/sys
chmod 777 /dev/mem

echo 0 9999999 > /proc/sys/net/ipv4/ping_group_range

ln -s /usr/bin/btools /bin/bspmd.l
ln -s /usr/bin/busybox /bin/awk
ln -s /usr/bin/busybox /bin/ipaddr
ln -s /usr/bin/busybox /bin/vi